<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./js/vue2.js"></script>
</head>
<body>

    <div id="app">
      <!-- 告诉浏览器不用执行这个代码,直接显示标签里面的内容就行了 -->
        <p v-pre>{{msg}}</p>
    </div>
    <script>
        var vm = new Vue({
            el:'#app',
            data:{
                msg:'你好'
            }
        })
        
        </script>
</body>
</html>